﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using COFE.Core;
using COFE.Core.Lister;
using COFE.Core.Profile;
using COFE.Core.Utils;
using NUnit.Framework;

namespace COFE.Data.Lister
{
    public class DBPrimaryDirectoryLister : DBDirectoryListerBase, IPrimaryDirectoryLister
    {
        #region Constructor

        public DBPrimaryDirectoryLister(IPrimaryDirectoryLister cachingDirectoryLister)
            : base(cachingDirectoryLister)
        {
            
        }

        #endregion

        #region Methods
       
        public IFileSystemInfo ParsePath(string path, EntryConstructionFlags flags)
        {            
            return CachingDirectoryLister.ParsePath(path, flags);
        }        

        #endregion

        #region Data
        

        #endregion

        #region Public Properties

        public DirectoryListerStatusMode Status { get { return CachingDirectoryLister.Status; } protected set { } }
        public IPrimaryDirectoryLister CachingDirectoryLister { get { return base._cachingDirectoryLister as IPrimaryDirectoryLister; } }

        public string[] SupportedPathPatterns { get { return CachingDirectoryLister.SupportedPathPatterns; } }
        public IDirectoryInfo[] RootDirectories { get { return CachingDirectoryLister.RootDirectories; } }
        public string RootTempPath { get { return CachingDirectoryLister.RootTempPath; } }

        #endregion




    }
}
